import request from '@/utils/request'

// 查询数据表列表
export function listMonthlyReportStatus(reportYearMonth) {
  return request({
    url: '/report/monthly_report_status/list',
    method: 'get',
    params: {
      reportYearMonth
    }
  })
}

// 查询数据表详情
export function getMonthlyReportStatusDetail(tableName, reportYearMonth) {
  return request({
    url: '/report/monthly_report_status/detail',
    method: 'get',
    params: {
      tableName,
      reportYearMonth
    }
  })
}

// 新增上报记录
export function addReportRecord(data) {
  return request({
    url: '/report/monthly_report_status/addRecord',
    method: 'post',
    data: data
  })
}